package com.coollang.smartbra.model;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * @Auther: Timmy
 * @Data: 2017/7/12
 * @Fuction:
 */

public class RunningDataModel extends RealmObject {

    @PrimaryKey
    private long id;

    public long length;//总时长
    public int heart_rate;//心率
    public int min_rate;//最小心率
    public int max_rate;//最大心率
    public long endtime;//结束时间
    public long starttime;//开始时间
    public long full_speed;//平均配速
    public long fast_speed;//最大配速
    public long slow_speed;//最小配速
    public double mileage;//总距离 km
    public long step_nums;//总步数

    // 坐标详情
    private String detail;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public int getHeart_rate() {
        return heart_rate;
    }

    public void setHeart_rate(int heart_rate) {
        this.heart_rate = heart_rate;
    }

    public int getMin_rate() {
        return min_rate;
    }

    public void setMin_rate(int min_rate) {
        this.min_rate = min_rate;
    }

    public int getMax_rate() {
        return max_rate;
    }

    public void setMax_rate(int max_rate) {
        this.max_rate = max_rate;
    }

    public long getEndtime() {
        return endtime;
    }

    public void setEndtime(long endtime) {
        this.endtime = endtime;
    }

    public long getStarttime() {
        return starttime;
    }

    public void setStarttime(long starttime) {
        this.starttime = starttime;
    }

    public long getFull_speed() {
        return full_speed;
    }

    public void setFull_speed(long full_speed) {
        this.full_speed = full_speed;
    }

    public long getFast_speed() {
        return fast_speed;
    }

    public void setFast_speed(long fast_speed) {
        this.fast_speed = fast_speed;
    }

    public long getSlow_speed() {
        return slow_speed;
    }

    public void setSlow_speed(long slow_speed) {
        this.slow_speed = slow_speed;
    }

    public double getMileage() {
        return mileage;
    }

    public void setMileage(double mileage) {
        this.mileage = mileage;
    }

    public long getStep_nums() {
        return step_nums;
    }

    public void setStep_nums(long step_nums) {
        this.step_nums = step_nums;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
